package com.sto.transport.capability.excel.impl;

import java.util.Map;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;

import com.alibaba.dubbo.config.annotation.Service;

import cn.sto.transport.capacity.dto.request.base.ExportExcelRequest;
import cn.sto.transport.capacity.dto.request.base.ImportExcelRequest;
import cn.sto.transport.capacity.dto.response.excel.ImportExcelResponse;
import com.sto.transport.capability.excel.BaseExcelServiceManage;
import lombok.extern.slf4j.Slf4j;

/**
 * @author LiYuhang
 * @version 0.1
 * @application 文件导出统一处理接口
 * @Date 2021/11/1 13:34
 */
@Service(retries = 1, version = "1.0.0", timeout = 20000, interfaceClass = BaseExcelServiceManage.class)
@Slf4j
public class BaseExcelServiceManageImpl implements BaseExcelServiceManage {


    private static final String QUERY_KEY = "queryMap";
    private static final String DEFAULT_PARAMETER = "excelType";

    @Override
    public String exportAndUploadExcel(@Valid ExportExcelRequest request) {
        return null;
    }

    @Override
    public String exportAndUploadExcel(@NotEmpty Map<String, String> queryMap) {
        return null;
    }

    @Override
    public ImportExcelResponse importExcel(@Valid ImportExcelRequest request) {
        return null;
    }
}
